package com.rivulet.foreign.pojo;

import java.util.Date;

/**
 * {一句话形容此class功能}
 *
 * @author xujiac
 * @create 2021/6/15
 * @since 1.0.0
 */
public class Message {
    private String user_id;
    private String content;
    private Date uptime;

    public Message(String user_id, String content, Date uptime) {
        this.user_id = user_id;
        this.content = content;
        this.uptime = uptime;
    }

    public Message() {
    }

    public String getUser_id() {
        return user_id;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getUptime() {
        return uptime;
    }

    public void setUptime(Date uptime) {
        this.uptime = uptime;
    }

    @Override
    public String toString() {
        return "Message{" +
                "user_id=" + user_id +
                ", content='" + content + '\'' +
                ", uptime=" + uptime +
                '}';
    }
}
